package com.ruoyi.business.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训授课记录对象 t_training_record
 * 
 * @author ruoyi
 * @date 2024-11-18
 */
public class TrainingRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 人员编号 */
    @Excel(name = "人员编号")
    private String employeeId;

    /** 授课主题 */
    @Excel(name = "授课主题")
    private String trainingTopic;

    /** 授课级别 */
    @Excel(name = "授课级别")
    private String trainingLevel;

    /** 授课时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "授课时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date trainingTime;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 年度 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "年度", width = 30, dateFormat = "yyyy-MM-dd")
    private Date awardYear;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setAwardYear(Date awardYear) 
    {
        this.awardYear = awardYear;
    }

    public Date getAwardYear() 
    {
        return awardYear;
    }
    public void setEmployeeId(String employeeId) 
    {
        this.employeeId = employeeId;
    }

    public String getEmployeeId() 
    {
        return employeeId;
    }
    public void setTrainingTopic(String trainingTopic) 
    {
        this.trainingTopic = trainingTopic;
    }

    public String getTrainingTopic() 
    {
        return trainingTopic;
    }
    public void setTrainingLevel(String trainingLevel) 
    {
        this.trainingLevel = trainingLevel;
    }

    public String getTrainingLevel() 
    {
        return trainingLevel;
    }
    public void setTrainingTime(Date trainingTime) 
    {
        this.trainingTime = trainingTime;
    }

    public Date getTrainingTime() 
    {
        return trainingTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("remarks", getRemarks())
            .append("awardYear", getAwardYear())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("employeeId", getEmployeeId())
            .append("trainingTopic", getTrainingTopic())
            .append("trainingLevel", getTrainingLevel())
            .append("trainingTime", getTrainingTime())
            .toString();
    }
}
